home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Applications / Demos_Demo folder / Demos_Info folder / Demos™ Demonstration / More Examples / Updating < prev   
Text File  |  1994-01-07  |  2KB  |  91 lines

  1. { From user Brian Sterling, Project Updating at Fri, Jan 7, 1994 1:34 PM}
  2.  
  3.  
  4. { System Variables with non-default values: }
  5. Samplesize := 200
  6. Typechecking := 1
  7. Checking := 1
  8. Saveoptions := 2
  9. Savevalues := 0
  10.  
  11.  
  12. { Non-default Time SysVar value: }
  13. Time := [0]
  14.  
  15. Attribute Reference
  16.  
  17. Project Updating
  18. Title: Updating probability distributions
  19. Description: A simple way of updating a prior probability distribution with new observations to get a posterior distribution.
  20. Author: Brian Sterling
  21. Date: Fri, Dec 31, 1993 3:44 PM
  22. Saveauthor: Brian Sterling
  23. Savedate: Fri, Jan 7, 1994 1:34 PM
  24. Diagstate: 1,88,98,449,243,1
  25. Fileinfo: 0,-1,1779,Project Updating,Updating
  26. Getresource Pagesetup,1
  27.  
  28. Chance Prior
  29. Title: prior
  30. Description: The prior distribution.
  31. Definition: uniform( 0,1)
  32. Location: 72,96
  33. Nodesize: 48,20
  34.  
  35. Chance Observatio
  36. Title: observations
  37. Description: Observed distribution.
  38. Definition: normal( 0.8, 0.1 )
  39. Location: 208,96
  40. Nodesize: 48,20
  41. Valuestate: 1,120,130,416,303,1,PDFP
  42.  
  43. Chance Posterior
  44. Title: posterior
  45. Description: The posterior distribution.
  46. Definition: if Bernoulli( n0/(n0+n1)) then prior else observatio
  47. Location: 232,176
  48. Nodesize: 48,20
  49. Valuestate: 1,185,452,416,303,1,PDFP
  50. Graphsetup: Distresol:4~
  51. Diststeps:1~
  52. Symbolsize:6~
  53. Linestyle:1~
  54. Frame:1~
  55. Grid:1~
  56. Ticks:1~
  57. Mesh:1~
  58. Scales:1~
  59. Rotation:0~
  60. Pan:45~
  61. Tilt:0~
  62. Depth:70~
  63. Flip:0~
  64. Frameauto:1~
  65. Xminimum:0~
  66. Xmaximum:1.25~
  67. Yminimum:0~
  68. Ymaximum:5~
  69. Zminimum:0~
  70. Zmaximum:1000~
  71. Xintervals:0~
  72. Yintervals:0~
  73.  
  74.  
  75. Variable N0
  76. Title: prior equivalent samplesize
  77. Description: The equivalent samplesize of the prior distribution.~
  78. Determines the weighting of the prior vs. the observations.
  79. Definition: 30
  80. Location: 72,40
  81. Nodesize: 48,24
  82.  
  83. Chance N1
  84. Title: number of observations
  85. Description: The number of observations.
  86. Definition: [0,10,30,100,1000]
  87. Location: 208,40
  88. Nodesize: 48,20
  89.  
  90. Close Updating
  91.